<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>团购</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/tuangou.css"/>
		<link rel="stylesheet" type="text/css" href="css/reset.css"/>
	</head>
	<body>
		<div id="web">
			<!--头部-->
			<header>
				<!--logo-->
				<div class="head_logo fl">
					<a href="#">
						<img src="img/logo_03.jpg"/>
					</a>
				</div>
				<!--下拉框-->
				<div class="selectBar fr">
					<select name="" id="">
						<option value="广州">广州</option>
						<option value="深圳">深圳</option>
					</select>
				</div>
				<!--搜索框-->
				<div class="searchBar">
					<input type="text" />
					<img src="img/fdj_06.jpg"/>
				</div>
			</header>
			
			<!--滚动部分-->
			<div class="session clearfix">
		    <div class="gundon">
		    	<img src="img/gundon1.jpg"/>
		    </div>
		    <div class="gundon1 clearfix">
		    	<div class="fl">
		    		<img src="img/yhtg.jpg" class="yhtg"/><span class=" wz30">优惠团购</span>
		    	</div>
		    	<div class="fr gengduo">
		    		<span class=" wz24">更多</span><img src="img/gd.jpg" class="gd"/>
		    	</div>
		    </div>
			<div class="gundon2 clearfix">
				<div class="fl mbfy"><img src="img/mbfy.jpg"/></div>
				<div class="fr jd"><img src="img/jdnzc.jpg"/></div>
				<div class="fl zp"><img src="img/xzdzp.jpg"/></div>
				<div class="fr wm"><img src="img/wmkhz.jpg"/></div>
			</div>
			<div class="gundon3 clearfix">
				<div class="fl">
					<img src="img/cnxh.jpg" class="cnxh"/><span class="wz30">猜你喜欢</span>
				</div>
		    	<div class="fr gengduo">
		    	    <span class="wz24">更多</span><img src="img/gd.jpg" class="gd"/>
		    	</div>
		    	
		    </div>
		    <div class="gundon4">
		    	<div class="gundon4-2">
		    		<div class="fl img_box"><img src="img/wsss.jpg"/></div>
		    		<div class="fl clearfix">
		    			<div class="gundon4-2-2 clearfix">
		    				<p class="fl wz30">万岁寿司（正佳店）</p><p class="fr wz22"><100m</p>
		    				<p class="wz22 srtc fl">[100店通用 双人套餐]</p>
		    				<p class="fl wz32">￥88.00</p><p class="fr wz22">已售1000</p>
		    			</div>
		    		</div>
		    	</div>
		    	<div class="fl gundon4-2">
		    		<div class="fl img_box"><img src="img/zhy.jpg"/></div>
		    		<div class="fl clearfix">
		    			<div class="gundon4-2-2 clearfix">
		    				<p class="fl wz30">周黑鸭（正佳店）</p><p class="fr wz22"><100m</p>
		    				<p class="wz22 srtc fl">[100店通用 双人套餐]</p>
		    				<p class="fl wz32">￥88.00</p><p class="fr wz22">已售1000</p>
		    			</div>
		    		</div>
		    	</div>
		    </div>
			</div>
			<!--底部-->
			<footer>
				<ul>
					<li class="fl shouye"><a href="tuangou.html">
							<i class="iconfont icon-path"></i>
							<p class="wz26">首页</p>
						</a></li>
					<li class="fl"><a href="fenlei.html">
                            <i class="iconfont icon-classify"></i>
							<p class="wz26">分类</p>
						</a></li>
					<li class="fl"><a href="faxian.html">
							<i class="iconfont icon-zhinanzhen"></i>
							<p class="wz26">发现</p>
						</a></li>
					<li class="fl"><a href="wode.html">
                            <i class="iconfont icon-user"></i>
							<p class="wz26">我的</p>
						</a></li>
				</ul>
			</footer>
		</div>
		<script>
    
        
		document.body.style.height = window.innerHeight + "px";
		
        /*动态改变根元素字体大小*/
        function recalc() {
            var clientWidth = document.documentElement.clientWidth;
            if(!clientWidth) return;
            document.documentElement.style.fontSize = 40 * (clientWidth / 750) + 'px';
                                        // 字体大小   = 1个rem单位表示多少个像素（设备的宽度   /设计宽度）
        }

        function initRecalc() {
            recalc();
            var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
            if(!document.addEventListener) return;
            window.addEventListener(resizeEvt, recalc, false);
            document.addEventListener('DOMContentLoaded', recalc, false);
        }
        initRecalc();
    
    
    
    </script>
	</body>
</html>
